package com.coding365.weba.service.impl;

import com.alibaba.dubbo.config.annotation.Reference;
import com.coding365.dubbo.api.ServiceApiB;
import com.coding365.dubbo.api.ServiceApiC;
import com.coding365.weba.service.DubboTestService;
import org.springframework.stereotype.Service;


@Service
public class DubboTestServiceImpl implements DubboTestService {

    @Reference
    private ServiceApiB serviceApiB;


    @Reference
    private ServiceApiC serviceApiC;


    @Override
    public void call() {
        serviceApiB.sayHelloB();
        serviceApiC.sayHelloC();
    }
}
